import { createRouter, createWebHashHistory } from 'vue-router'
const routes = [
    {
        path: '/schedulepage',
        name: 'schedulepage',
        component: () => import('@/views/schedulepage/index.vue')
    }, 
    {
        path: '/notepage',
        name: 'notepage',
        component: () => import('@/views/notepage/index.vue')
    },
    {
        path: '/editorpage',
        name: 'editorpage',
        component: () => import('@/views/editorpage/index.vue')
    },
    {
        path: '/seting',
        name: 'seting',
        component: () => import('@/views/setingpage/index.vue')
    }
]
const router = createRouter({
    // hash 模式。
    history: createWebHashHistory(),
    routes,
})
export default router
